<?php /* Smarty version 2.6.14, created on 2015-04-15 15:31:48
         compiled from platform_mapping.add.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table class="adminform" border="0" cellspacing="0">
	<tr>
    	<th><?php echo $this->_tpl_vars['systemLang']['platformName']; ?>
</th>
    </tr>
    <tr>
    	<td>
			<select name="data[plat_id]">
						<?php $_from = $this->_tpl_vars['platformList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
						<option value="<?php echo $this->_tpl_vars['item']['id']; ?>
"
							<?php if ($this->_tpl_vars['data']['plat_id'] == $this->_tpl_vars['item']['id']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['item']['platform_name']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
    	</td>
    </tr>
    <tr>
    	<th><?php echo $this->_tpl_vars['systemLang']['gameName']; ?>
</th>
    </tr>
	<tr>
		<td><select name="data[local_game_id]">
			<?php $_from = $this->_tpl_vars['gameList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
			<option value="<?php echo $this->_tpl_vars['item']['game_id']; ?>
"
				<?php if ($this->_tpl_vars['data']['local_game_id'] == $this->_tpl_vars['item']['game_id']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['item']['name']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
		</select></td>
	</tr>
	<tr>
    	<th><?php echo $this->_tpl_vars['systemLang']['platformGameId']; ?>
</th>
    </tr>
    <tr>
    	<td>
    	<input type="text" name="data[plat_game_id]" value="<?php echo $this->_tpl_vars['data']['plat_game_id']; ?>
" class="text" dataType="Number" msg="<?php echo $this->_tpl_vars['systemLang']['platGameIdError']; ?>
" />
    	</td>
    </tr>    
    <tr>
    	<td><input type="submit" name="sb" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button" /></td>
    </tr>
</table>
<?php if ($this->_tpl_vars['data']): ?>
<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['data']['id']; ?>
" />
<?php endif; ?>
</form>